<?php

namespace app\api\controller\v1;

use app\api\controller\Common;
use think\App;

class User extends Common
{
    protected $noNeedLogin = "*";
    protected $noNeedRight = '*';
    protected $userService;

    public function __construct(App $app, \app\api\service\UserService $userService)
    {
        parent::__construct($app);
        $this->userService = $userService;
    }

    public function test()
    {
        // TODO this is todo
        $this->returnJson($this->request->param());
    }
}